<template>
  <div>
    <div id="top">
      <img src="../assets/weipinhui.png" class="img1" />
      <span class="shu">|</span>
      <span class="font">品牌特卖·100%正品</span>
      <input type="text" placeholder="护肤套装" />
      <a href="#" class="login">
        登录
        <img src="../assets/caidan.svg" class="img2" />
      </a>
    </div>
    <div id="list">
      <router-link to="/firstPage" active-class="color">推荐</router-link>
      <router-link to="/secondPage" active-class="color">3折疯抢</router-link>
      <router-link to="/thirdPage" active-class="color">唯品快抢</router-link>
      <router-link to="/fourthPage" active-class="color">国际</router-link>
    </div>
    <div class="ly">
      <router-view></router-view>
    </div>
  </div>
</template>

<script scoped>
export default {};
</script>

<style scoped>
#top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  border-bottom: 5px solid #e04f9f;
  background-color: #fff;
  /* overflow: auto; */
  margin-bottom: 3px;
}
#top .img1 {
  margin: 0 0 0 15px;
  /* max-width: 100%; */
  width: 200px;
  height: 50px;
}
#top .img2 {
  width: 23px;
  margin-right: 10px;
}
#top .shu {
  font-size: 40px;
  color: #eaebef;
}
#top .font {
  margin: 0 15px;
  font-size: 25px;
  color: #a1a1a7;
  height: 70px;
  line-height: 70px;
}
#top .login {
  flex: 1;
  text-align: right;
  /* margin-right: 80px; */
  height: 70px;
  line-height: 70px;
  font-size: 25px;
  color: #585c64;
  text-decoration: none;
}
#top {
  font-size: 25px;
  line-height: 70px;
}
input {
  outline: 0;
  padding: 2px 12px;
  margin-left: 30px;
  width: 311px;
  height: 35px;
  line-height: 30px;
  font-size: 14px;
  color: #333;
  border: 3px solid #fa2a83;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  background-color: #fff;
}
input::placeholder {
  font-size: 18px;
  line-height: 18px;
}
#list {
  width: 1000px;
  height: 50px;
  /* border: 3px solid #f9f9fa; */
  background-color: #fff;
  border-top: none;
  text-align: center;
}
#list a {
  padding: 10px 20px;
  line-height: 50px;
  margin: 60px;
  font-size: 26px;
  text-decoration: none;
}
.color {
  color: #e04f9f;
  border-bottom: 5px solid #e04f9f;
  padding-bottom: 5px;
}
.ly {
  background-color: #f1f3f4;
  width: 100%;
  /* height: 808px; */
  margin: 0 auto;
  /* border: 1px solid #ddd; */
}
</style>